From: Roger Pau Monne Date: Fri, 10 Oct 2014 14:34:37 +0000 (+0200) Subject: libxl: include sys/ioctl.h X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~4190 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22%22?a=commitdiff_plain;h=df8589760ec9a86276da241a5c94d341aa1ddfcb;p=xen.git libxl: include sys/ioctl.h This is a requirement for the code in libxl_remus_disk_drbd.c that uses the ioctl syscall. Fixes the following error when building on FreeBSD: libxl_remus_disk_drbd.c: In function 'drbd_postsuspend': libxl_remus_disk_drbd.c:197:9: error: implicit declaration of function 'ioctl' [-Werror=implicit-function-declaration] Signed-off-by: Roger Pau Monné Cc: Lai Jiangshan Cc: Wen Congyang Cc: Yang Hongyang Cc: Ian Jackson Cc: Ian Campbell Cc: Wei Liu Acked-by: Ian Jackson Acked-by: Ian Campbell --- diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h index 83bef5905e..7ed601e267 100644 --- a/tools/libxl/libxl_internal.h +++ b/tools/libxl/libxl_internal.h @@ -44,6 +44,7 @@ #include #include #include +#include #include #include